package com.lianjinsu.shop.repository.dao;

import com.lianjinsu.shop.core.mybatis.AdvancedDao;
import com.lianjinsu.shop.entity.Orders;
import com.lianjinsu.shop.entity.enums.OrderStatus;

import java.util.List;

public interface OrdersDao extends AdvancedDao<Orders> {

    List<Orders> selectByUser(String openId);

    List<Orders> selectListOvertime(String before24H);

    List<Orders> selectByStatus(OrderStatus orderStatus);

    int updateStatus(Orders orders);
}
